package top.kaoshanji.p1ch11b;

import top.kaoshanji.p1ch11a.BMWModel;

import java.util.List;

/**
 * 代码清单-p1ch11b-104页b：宝马车组装者
 * @author kaoshanji
 * ^_^
 * create time 2025/3/22 14:39
 */
public class BMWBuilder extends CarBuilder {

    private BMWModel bmw = new BMWModel();

    @Override
    public void setSequence(List<String> sequence) {
        this.bmw.setSequence(sequence);
    }

    @Override
    public BMWModel getCarModel() {
        return this.bmw;
    }
}
